<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<div class="wrap-content-dialog">
    <form class="form-horizontal" role="form" id="form-add" action="menu/save.do">
            <div class="form-group m-b-10">
			    <label for="col01" class="col-sm-2 control-label">菜单名称</label>
			    <div class="col-sm-10 p-l-0">
			      <input type="text" class="form-control mix-require" name="name" data-label-name="菜单名称" id="col01" />
			    </div>
			</div>
			<div class="form-group m-b-10">
			    <label for="col02" class="col-sm-2 control-label">父菜单</label>
			    <div class="col-sm-10 p-l-0">
			      <input type="text" class="form-control mix-input-tree" data-uri="query/ztree/select_menu_tree.do" data-is-show-none="yes" name="parentId" value="${id=='0'?'':id }" id="col02" />
			    </div>
			</div>
			<div class="form-group m-b-10">
			    <label for="input03" class="col-sm-2 control-label">选择资源</label>
			    <div class="col-sm-10 p-l-0">
			      <input type="text" class="form-control mix-input-select" data-uri="query/select_resource_list.do"  data-is-show-all="no" data-is-show-none="yes" data-param-name="name" name="urlResId" id="input03" />
			    </div>
			</div>
			<div class="form-group m-b-10">
			    <label for="col04" class="col-sm-2 control-label">打开模式</label>
			    <div class="col-sm-10 p-l-0">
			    <select class="form-control mix-select" name="openModel" id="col4" data-uri="dict/items/menu_open_model.do"></select>
			    </div>
			</div>
			<div class="form-group m-b-10">
			    <label for="col05" class="col-sm-2 control-label">状态</label>
			    <div class="col-sm-10 p-l-0">
			       <select class="form-control mix-select" name="state" id="col05" data-uri="dict/items/valid_state.do"></select>
			    </div>
			</div>
			<div class="form-group m-b-10">
			    <label for="col06" class="col-sm-2 control-label">序号</label>
			    <div class="col-sm-10 p-l-0">
			      <input type="text" id="col06" class="form-control mix-require" data-label-name="序号" data-format="num" data-length="1,5" name="sortNum" value="${sortNum }" />
			    </div>
			</div>
			<div class="form-group m-b-10">
			    <label for="col07" class="col-sm-2 control-label">图标</label>
			    <div class="col-sm-10 p-l-0">
			      <input type="text" id="col07" class="form-control" name="icon" value="" />
			      <p class="help-block">填写<a target="_blank" href="http://v3.bootcss.com/components/">Bootstrap</a>或<a target="_blank" href="http://fontawesome.io/icons/">Font Awesome</a>图标样式！</p>
			    </div>
			</div> 
			<div class="dialog-footer-btns">
			      <button type="button" class="btn btn-primary mix-data-submit" data-target-form="#form-add" data-is-iframe="yes" data-jqgrid-id="${jqGridId }">
			      <i class="glyphicon glyphicon-ok-sign"></i> 确定</button>
			</div>
   </form>
</div><!-- wrap-content-dialog -->